
package com.dhcc.bpm.modules.orga.service.impl;

import com.dhcc.bpm.modules.orga.entity.OnlineApply;
import com.dhcc.bpm.modules.orga.vo.AppOnlineVo;
import com.dhcc.bpm.modules.orga.vo.OnlineApplyVO;
import com.dhcc.bpm.modules.orga.mapper.OnlineApplyMapper;
import com.dhcc.bpm.modules.orga.service.IOnlineApplyService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName OnlineApplyServiceImpl
 * @Description 上线申请审批表 服务实现类
 * @Author daina
 * @Date 2020/2/24 19:25
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service("opc_online_apply")
public class OnlineApplyServiceImpl extends BaseServiceImpl<OnlineApplyMapper, OnlineApply> implements IOnlineApplyService {

	@Override
	public IPage<OnlineApplyVO> selectOnlineApplyPage(IPage<OnlineApplyVO> page, OnlineApplyVO onlineApply) {
		return page.setRecords(baseMapper.selectOnlineApplyPage(page, onlineApply));
	}

	/**
	 * @Description 生产切割数据
	 * @Author sjm
	 * @Date 18:23 2020/3/4 0004
	 * @param id
	 * @return com.dhcc.bpm.modules.orga.vo.AppOnlineVo
	 **/
	@Override
	public AppOnlineVo selectAppById(Long id) {
		return baseMapper.selectAppById(id);
	}

	/**
	 * @Description 根据id查询
	 * @Author sjm
	 * @Date 17:34 2020/4/7 0007
	 * @param id
	 * @return com.dhcc.bpm.modules.orga.vo.OnlineApplyVO
	 **/
	@Override
	public OnlineApplyVO selectOnlineAppById(Long id) {
		return baseMapper.selectOnlineAppById(id);
	}

}
